﻿/********************************************************************************
 * CoTime. All rights reserved.
 * Author: 刘冰
 * Email : ice6@live.cn
 * Description:
 *     一个操作，用以实现TimeMechine(ToDo:TimeMechine)
*********************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace CoTime.Model
{
    /// <summary>
    /// orignal name is Action when design
    /// because action is conflicted with System.Action
    /// so change it to Act at 2011-7-10 6:31:49
    /// </summary>
    public class Act
    {
        [XmlAttribute("Type")]
        public ActType ActType { get; set; }

        [XmlAttribute]
        public DateTime Time { get; set; }

        public Act() { }

        public Act(ActType actType, DateTime time)
        {
            this.ActType = actType;
            this.Time = time;
        }
    }
}
